export function syncMethod(){
  let arg = [].slice.call(arguments);
  return new Promise((resolve,reject)=>{
    arg[0](resolve,...arg.slice(1))
  });
}
